package foodmaterial.dto;

import foodmaterial.entity.RolePermissionRelation;
import foodmaterial.entity.SysRole;

import java.util.List;

public class PermissionDto {
    private List<Long> id ;
    private List<String> code ;
    private List<String> name ;
    private List<String> description ;
    private List<SysRole> role ;
    private List<RolePermissionRelation> rolePermission ;
    private String database ;

    public List<Long> getId() {
        return id;
    }

    public void setId(List<Long> id) {
        this.id = id;
    }

    public List<String> getCode() {
        return code;
    }

    public void setCode(List<String> code) {
        this.code = code;
    }

    public List<String> getName() {
        return name;
    }

    public void setName(List<String> name) {
        this.name = name;
    }

    public List<String> getDescription() {
        return description;
    }

    public void setDescription(List<String> description) {
        this.description = description;
    }

    public List<SysRole> getRole() {
        return role;
    }

    public void setRole(List<SysRole> role) {
        this.role = role;
    }

    public List<RolePermissionRelation> getRolePermission() {
        return rolePermission;
    }

    public void setRolePermission(List<RolePermissionRelation> rolePermission) {
        this.rolePermission = rolePermission;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }
}
